﻿<controls:ChildWindow x:Class="LantinxLBS.Views.FrmAddMark"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300" 
           Title="标注添加">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="75" />
            <ColumnDefinition Width="300*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="26" />
            <RowDefinition Height="26" />
            <RowDefinition Height="131" />
            <RowDefinition Height="43*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="btnCancel" Content="退出" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="4" Grid.Column="1" />
        <Button x:Name="btnAddMark" Content="添加标注" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="4" Grid.Column="1" />
        <TextBlock Height="23" HorizontalAlignment="Left" x:Name="lblMarkName" Text="标记名:" VerticalAlignment="Top" Width="75" />
        <TextBlock Grid.Row="1" Height="23" HorizontalAlignment="Left" x:Name="lblAddress" Text="地址:" VerticalAlignment="Top" Width="75" />
        <TextBlock Grid.Row="2" Height="23" HorizontalAlignment="Left" x:Name="lblDescription" Text="描述:" VerticalAlignment="Top" Width="75" />
        <TextBox Grid.Column="1" Height="23" HorizontalAlignment="Left" Name="txtMarkName" VerticalAlignment="Top" MaxLength="25" Width="303" />
        <TextBox Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Name="txtAddress"  MaxLength="25" VerticalAlignment="Top" Width="303" />
        <TextBox Grid.Column="1" Grid.Row="2" Height="131" HorizontalAlignment="Left" Name="txtDescription"  MaxLength="255" VerticalAlignment="Top" Width="303" TextWrapping="Wrap" />
    </Grid>
</controls:ChildWindow>